
/* First created by JCasGen Tue Jun 30 17:53:33 UYT 2009 */
package org.idtem.component.algoritmo;

import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
import org.apache.uima.cas.impl.FeatureImpl;
import org.apache.uima.cas.Feature;
import org.apache.uima.jcas.tcas.DocumentAnnotation_Type;

/** 
 * Updated by JCasGen Mon Nov 09 22:28:21 UYST 2009
 * @generated */
public class InfoDoc_Type extends DocumentAnnotation_Type {
  /** @generated */
  protected FSGenerator getFSGenerator() {return fsGenerator;}
  /** @generated */
  private final FSGenerator fsGenerator = 
    new FSGenerator() {
      public FeatureStructure createFS(int addr, CASImpl cas) {
  			 if (InfoDoc_Type.this.useExistingInstance) {
  			   // Return eq fs instance if already created
  		     FeatureStructure fs = InfoDoc_Type.this.jcas.getJfsFromCaddr(addr);
  		     if (null == fs) {
  		       fs = new InfoDoc(addr, InfoDoc_Type.this);
  			   InfoDoc_Type.this.jcas.putJfsFromCaddr(addr, fs);
  			   return fs;
  		     }
  		     return fs;
        } else return new InfoDoc(addr, InfoDoc_Type.this);
  	  }
    };
  /** @generated */
  public final static int typeIndexID = InfoDoc.typeIndexID;
  /** @generated 
     @modifiable */
  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.idtem.component.algoritmo.InfoDoc");
 
  /** @generated */
  final Feature casFeat_cantSentencias;
  /** @generated */
  final int     casFeatCode_cantSentencias;
  /** @generated */ 
  public int getCantSentencias(int addr) {
        if (featOkTst && casFeat_cantSentencias == null)
      jcas.throwFeatMissing("cantSentencias", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantSentencias);
  }
  /** @generated */    
  public void setCantSentencias(int addr, int v) {
        if (featOkTst && casFeat_cantSentencias == null)
      jcas.throwFeatMissing("cantSentencias", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantSentencias, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantSentenciasConOffset;
  /** @generated */
  final int     casFeatCode_cantSentenciasConOffset;
  /** @generated */ 
  public int getCantSentenciasConOffset(int addr) {
        if (featOkTst && casFeat_cantSentenciasConOffset == null)
      jcas.throwFeatMissing("cantSentenciasConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantSentenciasConOffset);
  }
  /** @generated */    
  public void setCantSentenciasConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantSentenciasConOffset == null)
      jcas.throwFeatMissing("cantSentenciasConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantSentenciasConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantPalabrasConOffset;
  /** @generated */
  final int     casFeatCode_cantPalabrasConOffset;
  /** @generated */ 
  public int getCantPalabrasConOffset(int addr) {
        if (featOkTst && casFeat_cantPalabrasConOffset == null)
      jcas.throwFeatMissing("cantPalabrasConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantPalabrasConOffset);
  }
  /** @generated */    
  public void setCantPalabrasConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantPalabrasConOffset == null)
      jcas.throwFeatMissing("cantPalabrasConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantPalabrasConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantOffsets;
  /** @generated */
  final int     casFeatCode_cantOffsets;
  /** @generated */ 
  public int getCantOffsets(int addr) {
        if (featOkTst && casFeat_cantOffsets == null)
      jcas.throwFeatMissing("cantOffsets", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantOffsets);
  }
  /** @generated */    
  public void setCantOffsets(int addr, int v) {
        if (featOkTst && casFeat_cantOffsets == null)
      jcas.throwFeatMissing("cantOffsets", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantOffsets, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantPalabras;
  /** @generated */
  final int     casFeatCode_cantPalabras;
  /** @generated */ 
  public int getCantPalabras(int addr) {
        if (featOkTst && casFeat_cantPalabras == null)
      jcas.throwFeatMissing("cantPalabras", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantPalabras);
  }
  /** @generated */    
  public void setCantPalabras(int addr, int v) {
        if (featOkTst && casFeat_cantPalabras == null)
      jcas.throwFeatMissing("cantPalabras", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantPalabras, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantTokensConsulta;
  /** @generated */
  final int     casFeatCode_cantTokensConsulta;
  /** @generated */ 
  public int getCantTokensConsulta(int addr) {
        if (featOkTst && casFeat_cantTokensConsulta == null)
      jcas.throwFeatMissing("cantTokensConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantTokensConsulta);
  }
  /** @generated */    
  public void setCantTokensConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantTokensConsulta == null)
      jcas.throwFeatMissing("cantTokensConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantTokensConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantTokensConsultaNoFiltered;
  /** @generated */
  final int     casFeatCode_cantTokensConsultaNoFiltered;
  /** @generated */ 
  public int getCantTokensConsultaNoFiltered(int addr) {
        if (featOkTst && casFeat_cantTokensConsultaNoFiltered == null)
      jcas.throwFeatMissing("cantTokensConsultaNoFiltered", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantTokensConsultaNoFiltered);
  }
  /** @generated */    
  public void setCantTokensConsultaNoFiltered(int addr, int v) {
        if (featOkTst && casFeat_cantTokensConsultaNoFiltered == null)
      jcas.throwFeatMissing("cantTokensConsultaNoFiltered", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantTokensConsultaNoFiltered, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantOffsetsFraseConsulta;
  /** @generated */
  final int     casFeatCode_cantOffsetsFraseConsulta;
  /** @generated */ 
  public int getCantOffsetsFraseConsulta(int addr) {
        if (featOkTst && casFeat_cantOffsetsFraseConsulta == null)
      jcas.throwFeatMissing("cantOffsetsFraseConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantOffsetsFraseConsulta);
  }
  /** @generated */    
  public void setCantOffsetsFraseConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantOffsetsFraseConsulta == null)
      jcas.throwFeatMissing("cantOffsetsFraseConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantOffsetsFraseConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantNombresConsulta;
  /** @generated */
  final int     casFeatCode_cantNombresConsulta;
  /** @generated */ 
  public int getCantNombresConsulta(int addr) {
        if (featOkTst && casFeat_cantNombresConsulta == null)
      jcas.throwFeatMissing("cantNombresConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantNombresConsulta);
  }
  /** @generated */    
  public void setCantNombresConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantNombresConsulta == null)
      jcas.throwFeatMissing("cantNombresConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantNombresConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantVerbosConsulta;
  /** @generated */
  final int     casFeatCode_cantVerbosConsulta;
  /** @generated */ 
  public int getCantVerbosConsulta(int addr) {
        if (featOkTst && casFeat_cantVerbosConsulta == null)
      jcas.throwFeatMissing("cantVerbosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantVerbosConsulta);
  }
  /** @generated */    
  public void setCantVerbosConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantVerbosConsulta == null)
      jcas.throwFeatMissing("cantVerbosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantVerbosConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdjetivosConsulta;
  /** @generated */
  final int     casFeatCode_cantAdjetivosConsulta;
  /** @generated */ 
  public int getCantAdjetivosConsulta(int addr) {
        if (featOkTst && casFeat_cantAdjetivosConsulta == null)
      jcas.throwFeatMissing("cantAdjetivosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdjetivosConsulta);
  }
  /** @generated */    
  public void setCantAdjetivosConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantAdjetivosConsulta == null)
      jcas.throwFeatMissing("cantAdjetivosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdjetivosConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdverbiosConsulta;
  /** @generated */
  final int     casFeatCode_cantAdverbiosConsulta;
  /** @generated */ 
  public int getCantAdverbiosConsulta(int addr) {
        if (featOkTst && casFeat_cantAdverbiosConsulta == null)
      jcas.throwFeatMissing("cantAdverbiosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdverbiosConsulta);
  }
  /** @generated */    
  public void setCantAdverbiosConsulta(int addr, int v) {
        if (featOkTst && casFeat_cantAdverbiosConsulta == null)
      jcas.throwFeatMissing("cantAdverbiosConsulta", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdverbiosConsulta, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantNombresConsultaConOffset;
  /** @generated */
  final int     casFeatCode_cantNombresConsultaConOffset;
  /** @generated */ 
  public int getCantNombresConsultaConOffset(int addr) {
        if (featOkTst && casFeat_cantNombresConsultaConOffset == null)
      jcas.throwFeatMissing("cantNombresConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantNombresConsultaConOffset);
  }
  /** @generated */    
  public void setCantNombresConsultaConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantNombresConsultaConOffset == null)
      jcas.throwFeatMissing("cantNombresConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantNombresConsultaConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantVerbosConsultaConOffset;
  /** @generated */
  final int     casFeatCode_cantVerbosConsultaConOffset;
  /** @generated */ 
  public int getCantVerbosConsultaConOffset(int addr) {
        if (featOkTst && casFeat_cantVerbosConsultaConOffset == null)
      jcas.throwFeatMissing("cantVerbosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantVerbosConsultaConOffset);
  }
  /** @generated */    
  public void setCantVerbosConsultaConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantVerbosConsultaConOffset == null)
      jcas.throwFeatMissing("cantVerbosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantVerbosConsultaConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdjetivosConsultaConOffset;
  /** @generated */
  final int     casFeatCode_cantAdjetivosConsultaConOffset;
  /** @generated */ 
  public int getCantAdjetivosConsultaConOffset(int addr) {
        if (featOkTst && casFeat_cantAdjetivosConsultaConOffset == null)
      jcas.throwFeatMissing("cantAdjetivosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdjetivosConsultaConOffset);
  }
  /** @generated */    
  public void setCantAdjetivosConsultaConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantAdjetivosConsultaConOffset == null)
      jcas.throwFeatMissing("cantAdjetivosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdjetivosConsultaConOffset, v);}
    
  
 
  /** @generated */
  final Feature casFeat_cantAdverbiosConsultaConOffset;
  /** @generated */
  final int     casFeatCode_cantAdverbiosConsultaConOffset;
  /** @generated */ 
  public int getCantAdverbiosConsultaConOffset(int addr) {
        if (featOkTst && casFeat_cantAdverbiosConsultaConOffset == null)
      jcas.throwFeatMissing("cantAdverbiosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    return ll_cas.ll_getIntValue(addr, casFeatCode_cantAdverbiosConsultaConOffset);
  }
  /** @generated */    
  public void setCantAdverbiosConsultaConOffset(int addr, int v) {
        if (featOkTst && casFeat_cantAdverbiosConsultaConOffset == null)
      jcas.throwFeatMissing("cantAdverbiosConsultaConOffset", "org.idtem.component.algoritmo.InfoDoc");
    ll_cas.ll_setIntValue(addr, casFeatCode_cantAdverbiosConsultaConOffset, v);}
    
  



  /** initialize variables to correspond with Cas Type and Features
	* @generated */
  public InfoDoc_Type(JCas jcas, Type casType) {
    super(jcas, casType);
    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());

 
    casFeat_cantSentencias = jcas.getRequiredFeatureDE(casType, "cantSentencias", "uima.cas.Integer", featOkTst);
    casFeatCode_cantSentencias  = (null == casFeat_cantSentencias) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantSentencias).getCode();

 
    casFeat_cantSentenciasConOffset = jcas.getRequiredFeatureDE(casType, "cantSentenciasConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantSentenciasConOffset  = (null == casFeat_cantSentenciasConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantSentenciasConOffset).getCode();

 
    casFeat_cantPalabrasConOffset = jcas.getRequiredFeatureDE(casType, "cantPalabrasConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantPalabrasConOffset  = (null == casFeat_cantPalabrasConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantPalabrasConOffset).getCode();

 
    casFeat_cantOffsets = jcas.getRequiredFeatureDE(casType, "cantOffsets", "uima.cas.Integer", featOkTst);
    casFeatCode_cantOffsets  = (null == casFeat_cantOffsets) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantOffsets).getCode();

 
    casFeat_cantPalabras = jcas.getRequiredFeatureDE(casType, "cantPalabras", "uima.cas.Integer", featOkTst);
    casFeatCode_cantPalabras  = (null == casFeat_cantPalabras) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantPalabras).getCode();

 
    casFeat_cantTokensConsulta = jcas.getRequiredFeatureDE(casType, "cantTokensConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantTokensConsulta  = (null == casFeat_cantTokensConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantTokensConsulta).getCode();

 
    casFeat_cantTokensConsultaNoFiltered = jcas.getRequiredFeatureDE(casType, "cantTokensConsultaNoFiltered", "uima.cas.Integer", featOkTst);
    casFeatCode_cantTokensConsultaNoFiltered  = (null == casFeat_cantTokensConsultaNoFiltered) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantTokensConsultaNoFiltered).getCode();

 
    casFeat_cantOffsetsFraseConsulta = jcas.getRequiredFeatureDE(casType, "cantOffsetsFraseConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantOffsetsFraseConsulta  = (null == casFeat_cantOffsetsFraseConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantOffsetsFraseConsulta).getCode();

 
    casFeat_cantNombresConsulta = jcas.getRequiredFeatureDE(casType, "cantNombresConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantNombresConsulta  = (null == casFeat_cantNombresConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantNombresConsulta).getCode();

 
    casFeat_cantVerbosConsulta = jcas.getRequiredFeatureDE(casType, "cantVerbosConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantVerbosConsulta  = (null == casFeat_cantVerbosConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantVerbosConsulta).getCode();

 
    casFeat_cantAdjetivosConsulta = jcas.getRequiredFeatureDE(casType, "cantAdjetivosConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdjetivosConsulta  = (null == casFeat_cantAdjetivosConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdjetivosConsulta).getCode();

 
    casFeat_cantAdverbiosConsulta = jcas.getRequiredFeatureDE(casType, "cantAdverbiosConsulta", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdverbiosConsulta  = (null == casFeat_cantAdverbiosConsulta) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdverbiosConsulta).getCode();

 
    casFeat_cantNombresConsultaConOffset = jcas.getRequiredFeatureDE(casType, "cantNombresConsultaConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantNombresConsultaConOffset  = (null == casFeat_cantNombresConsultaConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantNombresConsultaConOffset).getCode();

 
    casFeat_cantVerbosConsultaConOffset = jcas.getRequiredFeatureDE(casType, "cantVerbosConsultaConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantVerbosConsultaConOffset  = (null == casFeat_cantVerbosConsultaConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantVerbosConsultaConOffset).getCode();

 
    casFeat_cantAdjetivosConsultaConOffset = jcas.getRequiredFeatureDE(casType, "cantAdjetivosConsultaConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdjetivosConsultaConOffset  = (null == casFeat_cantAdjetivosConsultaConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdjetivosConsultaConOffset).getCode();

 
    casFeat_cantAdverbiosConsultaConOffset = jcas.getRequiredFeatureDE(casType, "cantAdverbiosConsultaConOffset", "uima.cas.Integer", featOkTst);
    casFeatCode_cantAdverbiosConsultaConOffset  = (null == casFeat_cantAdverbiosConsultaConOffset) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_cantAdverbiosConsultaConOffset).getCode();

  }
}



    